package com.example.chapter4.service;

import com.example.chapter4.entity.Blog;

import java.util.List;

public interface BlogService {
    List<Blog> findAll();
    List<Blog> findBlogsByPage(int page,int pageSize);
    int countBlogs();
    boolean updateBlog(Blog blog);
    boolean deleteBlog(int id);
}
